package com.ss.android.lockscreen.views;

import com.ss.android.lockscreen.activity.lock.LockScreenActivity;

public final class e {
    private final LockScreenActivity a;

    public e(LockScreenActivity arg1) {
        this.a = arg1;

    }

    public final void a(int arg6) {
        float v0 = 1f;
        float v2 = v0 - (((float) arg6)) / (((float) LockScreenActivity.b(this.a)));
        SwipeView v3 = LockScreenActivity.c(this.a);
        if (v2 < v0) {
            v0 = v2 <= 0f ? 0f : v2;
        }

        v3.setAlpha(v0);
        LockScreenActivity.c(this.a).setTranslationY(((float) (-0 / 4)));
        LockScreenActivity.d(this.a).setTranslationY(((float) (-0 / 4)));
        LockScreenActivity.e(this.a).setTranslationY(((float) (-0 / 4)));
        LockScreenActivity.a(this.a).setTranslationY(((float) (-0 / 4 << 1)));
        LockScreenActivity.f(this.a).setTranslationY(((float) (-0 / 4 * 3)));
    }

    public final void a(boolean arg3, boolean arg4, float arg5) {
        if (!arg3) {
            if (Math.abs(arg5) > (((float) LockScreenActivity.g(this.a)))) {
                LockScreenActivity.i(this.a);
            } else {
                LockScreenActivity.h(this.a);
            }
        } else if (!arg4) {
            LockScreenActivity.h(this.a);
        } else if (Math.abs(arg5) >= (((float) LockScreenActivity.j(this.a)))) {
            LockScreenActivity.i(this.a);
        } else {
            LockScreenActivity.h(this.a);
        }
    }
}

